package org.wmsafe.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import org.wmsafe.mapper.CategoryMapper;
import org.wmsafe.pojo.Category;
import org.wmsafe.service.CategoryService;

@Service
public class CategoryServiceImpl  implements CategoryService{

	CategoryMapper categoryMapper;

	@Autowired
	public void setCategoryMapper(CategoryMapper categoryMapper) {
		this.categoryMapper = categoryMapper;
	}

	public List<Category> list(){
		return categoryMapper.list();
	}


}
